package com.yl.auth.mapper;

import com.yl.auth.entity.Renwushezhi;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author W
 * @since 2023-07-07
 */
public interface RenwushezhiMapper extends BaseMapper<Renwushezhi> {

    @Select("select * from renwushezhi where time = #{time} and laoren_id = #{laorenId}")
    Renwushezhi getTime(@Param("time") Integer time,@Param("laorenId") Long laorenId);

}
